<?php

namespace App\Models\base\traits;

trait ScopeSort
{
    /**
     * @param $query
     * @return mixed
     */
    public function scopeSort($query)
    {
        return $query->orderBy('sort', 'Asc');
    }
}
